Spread Windows Forms 17
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / GenericTypeConverter<T> Class / ConvertTo Method / ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
Type descriptor context
Culture
Value
Type


In This Topic
    ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
    In This Topic
    Converts the context to the specified culture and type.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Function ConvertTo( _
       ByVal context As ITypeDescriptorContext, _
       ByVal culture As CultureInfo, _
       ByVal value As Object, _
       ByVal destinationType As Type _
    ) As Object
    'Usage
     
    
    Dim instance As GenericTypeConverter(Of T)
    Dim context As ITypeDescriptorContext
    Dim culture As CultureInfo
    Dim value As Object
    Dim destinationType As Type
    Dim value As Object
     
    value = instance.ConvertTo(context, culture, value, destinationType)

    Parameters

    context
    Type descriptor context
    culture
    Culture
    value
    Value
    destinationType
    Type

    Return Value

    Converted object
    See Also